#ifndef RAYTRACING_H
#define RAYTRACING_H

#include "src/scene/render.h"

#include "src/scene/nearestInfo.h"

class Raytracing : public Render {
    public:
        Raytracing(Scene *_s, unsigned int _d = 4) : Render(_s, _d) {};
        ~Raytracing() {};

    private:
        Color calculate(const Ray &, unsigned int, bool = false) const;
        Color findColor(const NearestInfo &, const Vector3D &, unsigned int, Object *) const;
};

#endif

